package com.sino.operation.commons.response;


public enum CenterResponseEnum {
    RES_SUCCESS(200, "访问成功"),
    RES_ERROR(500, "访问失败"),
    PARAM_ERROR(501, "传入参数错误"),
    CENTER_NO_ORG(2000, "机构未分配归属中心"),
    CHANNEL_ID_NO(2001, "渠道标志不能为空"),
    CENTER_STATE_OFF(2002, "作业中心未开启"),
    CENTER_STATE_NO_CONFIG(2003, "该作业中心未配置状态信息"),
    CHANNEL_NO_CONFIG(2004, "该渠道未进行配置信息"),
    CENTER_NULL(2005, "未查询到作业中心"),
    PUBLIC_NULL(2006, "缺少公共信息"),
    USER_LOGGED_IN(2007, "柜员已签到"),
    ERROR_PASSWORD(2008, "账号密码不匹配"),
    PASSWORD_NEED_UPDATE(2009, "该账号需要强制修改密码"),
    TASK_SUSPEND_ERROR(2010, "任务暂挂失败"),
    TASK_RESUME_ERROR(2011, "任务解卦失败"),
    TASK_RELEASE_ERROR(2012, "任务释放失败"),
    ERROR_TOKEN(2013, "token异常，未找到相应的柜员员工号"),
    TRANS_NODE_SERVICE_ERROR(2014, "该交易码节点未配置方法信息"),
    BIZ_TRANS_NO(2015, "没有该交易"),
    OLD_PASSWORD_ERROR(2016, "原密码错误"),
    TWO_PASSWORD_ERROR(2017, "两次密码不一致"),
    NET_HANDLE_LIST_ERROR(2018, "网点查询已处理任务队列失败"),
    COUNTER_TELLER_HAVE_WORK(2019,"该柜员有任务未处理，不能签退"),
    TERMINAL_TASK_ERROR(2020,"任务终止失败，请查看工作流"),
    COMPLATE_TASK_ERROR(2021,"任务提交失败，请查看工作流"),
    CORE_URL_ERROR(2022,"通过esc寻核心地址出现错误"),
    ACCOUNT_MANAGE_URL_ERROR(2023,"通过esc寻账管地址出现错误");

    private Integer code;
    private String message;
    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    CenterResponseEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
